<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::PlanarPolygon&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_planar_polygon.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1_planar_polygon-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::PlanarPolygon&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_planar_polygon.html" title="PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.">PlanarPolygon</a> represents a planar (2D) polygon, potentially in a 3D space.  
 <a href="classpcl_1_1_planar_polygon.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="planar__polygon_8h_source.html">planar_polygon.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::PlanarPolygon&lt; PointT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1_planar_polygon.png" usemap="#pcl::PlanarPolygon_3C_20PointT_20_3E_map" alt=""/>
  <map id="pcl::PlanarPolygon_3C_20PointT_20_3E_map" name="pcl::PlanarPolygon_3C_20PointT_20_3E_map">
<area href="classpcl_1_1_planar_region.html" title="PlanarRegion represents a set of points that lie in a plane. Inherits summary statistics about these ..." alt="pcl::PlanarRegion&lt; PointT &gt;" shape="rect" coords="0,56,177,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a84b3e3dcddd31e725994ccfbd5ac8547"><td class="memItemLeft" align="right" valign="top"><a id="a84b3e3dcddd31e725994ccfbd5ac8547"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1_planar_polygon.html">PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:a84b3e3dcddd31e725994ccfbd5ac8547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5631dcb5eb5997696f7839a0fbd44abe"><td class="memItemLeft" align="right" valign="top"><a id="a5631dcb5eb5997696f7839a0fbd44abe"></a>
typedef boost::shared_ptr&lt; const <a class="el" href="classpcl_1_1_planar_polygon.html">PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ConstPtr</b></td></tr>
<tr class="separator:a5631dcb5eb5997696f7839a0fbd44abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aac6840d7402281cf62087b39514c9d1a"><td class="memItemLeft" align="right" valign="top"><a id="aac6840d7402281cf62087b39514c9d1a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#aac6840d7402281cf62087b39514c9d1a">PlanarPolygon</a> ()</td></tr>
<tr class="memdesc:aac6840d7402281cf62087b39514c9d1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor for <a class="el" href="classpcl_1_1_planar_polygon.html" title="PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.">PlanarPolygon</a> <br /></td></tr>
<tr class="separator:aac6840d7402281cf62087b39514c9d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a616818d7d7442478e34c1b50c35c8a57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a616818d7d7442478e34c1b50c35c8a57">PlanarPolygon</a> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VectorType &amp;contour, Eigen::Vector4f &amp;coefficients)</td></tr>
<tr class="memdesc:a616818d7d7442478e34c1b50c35c8a57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for <a class="el" href="classpcl_1_1_planar_polygon.html" title="PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.">PlanarPolygon</a>  <a href="classpcl_1_1_planar_polygon.html#a616818d7d7442478e34c1b50c35c8a57">更多...</a><br /></td></tr>
<tr class="separator:a616818d7d7442478e34c1b50c35c8a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b45aa6d741b0ef8052446ade65b11df"><td class="memItemLeft" align="right" valign="top"><a id="a2b45aa6d741b0ef8052446ade65b11df"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a2b45aa6d741b0ef8052446ade65b11df">~PlanarPolygon</a> ()</td></tr>
<tr class="memdesc:a2b45aa6d741b0ef8052446ade65b11df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a2b45aa6d741b0ef8052446ade65b11df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae63c4c8b438668f1ebe04974ffefeedb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#ae63c4c8b438668f1ebe04974ffefeedb">setContour</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;contour)</td></tr>
<tr class="memdesc:ae63c4c8b438668f1ebe04974ffefeedb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal contour  <a href="classpcl_1_1_planar_polygon.html#ae63c4c8b438668f1ebe04974ffefeedb">更多...</a><br /></td></tr>
<tr class="separator:ae63c4c8b438668f1ebe04974ffefeedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac657798ccb001cc71aafdf2f683f2c4b"><td class="memItemLeft" align="right" valign="top"><a id="ac657798ccb001cc71aafdf2f683f2c4b"></a>
<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VectorType &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#ac657798ccb001cc71aafdf2f683f2c4b">getContour</a> ()</td></tr>
<tr class="memdesc:ac657798ccb001cc71aafdf2f683f2c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the contour / boundary <br /></td></tr>
<tr class="separator:ac657798ccb001cc71aafdf2f683f2c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55d20e0a87f5829e6019fb6348b39f4a"><td class="memItemLeft" align="right" valign="top"><a id="a55d20e0a87f5829e6019fb6348b39f4a"></a>
const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VectorType &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a55d20e0a87f5829e6019fb6348b39f4a">getContour</a> () const</td></tr>
<tr class="memdesc:a55d20e0a87f5829e6019fb6348b39f4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the contour / boundary <br /></td></tr>
<tr class="separator:a55d20e0a87f5829e6019fb6348b39f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff8205639ba8df6083258c55cf0e760"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a0ff8205639ba8df6083258c55cf0e760">setCoefficients</a> (const Eigen::Vector4f &amp;coefficients)</td></tr>
<tr class="memdesc:a0ff8205639ba8df6083258c55cf0e760"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setr the internal coefficients  <a href="classpcl_1_1_planar_polygon.html#a0ff8205639ba8df6083258c55cf0e760">更多...</a><br /></td></tr>
<tr class="separator:a0ff8205639ba8df6083258c55cf0e760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd88c7877a20160cea40ba55ba4ab7ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#afd88c7877a20160cea40ba55ba4ab7ef">setCoefficients</a> (const <a class="el" href="structpcl_1_1_model_coefficients.html">pcl::ModelCoefficients</a> &amp;coefficients)</td></tr>
<tr class="memdesc:afd88c7877a20160cea40ba55ba4ab7ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal coefficients  <a href="classpcl_1_1_planar_polygon.html#afd88c7877a20160cea40ba55ba4ab7ef">更多...</a><br /></td></tr>
<tr class="separator:afd88c7877a20160cea40ba55ba4ab7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4edb3f46d46fc9d133cffa0503998d10"><td class="memItemLeft" align="right" valign="top"><a id="a4edb3f46d46fc9d133cffa0503998d10"></a>
Eigen::Vector4f &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a4edb3f46d46fc9d133cffa0503998d10">getCoefficients</a> ()</td></tr>
<tr class="memdesc:a4edb3f46d46fc9d133cffa0503998d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the coefficients <br /></td></tr>
<tr class="separator:a4edb3f46d46fc9d133cffa0503998d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9a5c98c84f32c280fb471c2f1173245"><td class="memItemLeft" align="right" valign="top"><a id="ae9a5c98c84f32c280fb471c2f1173245"></a>
const Eigen::Vector4f &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#ae9a5c98c84f32c280fb471c2f1173245">getCoefficients</a> () const</td></tr>
<tr class="memdesc:ae9a5c98c84f32c280fb471c2f1173245"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the coefficients <br /></td></tr>
<tr class="separator:ae9a5c98c84f32c280fb471c2f1173245"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:abcd484d22b965923dbeccb656c2d567a"><td class="memItemLeft" align="right" valign="top"><a id="abcd484d22b965923dbeccb656c2d567a"></a>
<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VectorType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#abcd484d22b965923dbeccb656c2d567a">contour_</a></td></tr>
<tr class="memdesc:abcd484d22b965923dbeccb656c2d567a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of points on the boundary/contour of the planar region. <br /></td></tr>
<tr class="separator:abcd484d22b965923dbeccb656c2d567a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a704476c9bdebc989dbcbf577f02d32db"><td class="memItemLeft" align="right" valign="top"><a id="a704476c9bdebc989dbcbf577f02d32db"></a>
Eigen::Vector4f&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_planar_polygon.html#a704476c9bdebc989dbcbf577f02d32db">coefficients_</a></td></tr>
<tr class="memdesc:a704476c9bdebc989dbcbf577f02d32db"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of model coefficients (a,b,c,d). <br /></td></tr>
<tr class="separator:a704476c9bdebc989dbcbf577f02d32db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointT&gt;<br />
class pcl::PlanarPolygon&lt; PointT &gt;</h3>

<p><a class="el" href="classpcl_1_1_planar_polygon.html" title="PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.">PlanarPolygon</a> represents a planar (2D) polygon, potentially in a 3D space. </p>
<dl class="section author"><dt>作者</dt><dd>Alex Trevor </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a616818d7d7442478e34c1b50c35c8a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a616818d7d7442478e34c1b50c35c8a57">&#9670;&nbsp;</a></span>PlanarPolygon()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpcl_1_1_planar_polygon.html">pcl::PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::<a class="el" href="classpcl_1_1_planar_polygon.html">PlanarPolygon</a> </td>
          <td>(</td>
          <td class="paramtype">typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VectorType &amp;&#160;</td>
          <td class="paramname"><em>contour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector4f &amp;&#160;</td>
          <td class="paramname"><em>coefficients</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor for <a class="el" href="classpcl_1_1_planar_polygon.html" title="PlanarPolygon represents a planar (2D) polygon, potentially in a 3D space.">PlanarPolygon</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">contour</td><td>a vector of points bounding the polygon </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">coefficients</td><td>a vector of the plane's coefficients (a,b,c,d) </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        : <a class="code" href="classpcl_1_1_planar_polygon.html#abcd484d22b965923dbeccb656c2d567a">contour_</a> (contour), <a class="code" href="classpcl_1_1_planar_polygon.html#a704476c9bdebc989dbcbf577f02d32db">coefficients_</a> (coefficients)</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      {}</div>
<div class="ttc" id="aclasspcl_1_1_planar_polygon_html_a704476c9bdebc989dbcbf577f02d32db"><div class="ttname"><a href="classpcl_1_1_planar_polygon.html#a704476c9bdebc989dbcbf577f02d32db">pcl::PlanarPolygon::coefficients_</a></div><div class="ttdeci">Eigen::Vector4f coefficients_</div><div class="ttdoc">A list of model coefficients (a,b,c,d).</div><div class="ttdef"><b>Definition:</b> planar_polygon.h:137</div></div>
<div class="ttc" id="aclasspcl_1_1_planar_polygon_html_abcd484d22b965923dbeccb656c2d567a"><div class="ttname"><a href="classpcl_1_1_planar_polygon.html#abcd484d22b965923dbeccb656c2d567a">pcl::PlanarPolygon::contour_</a></div><div class="ttdeci">pcl::PointCloud&lt; PointT &gt;::VectorType contour_</div><div class="ttdoc">A list of points on the boundary/contour of the planar region.</div><div class="ttdef"><b>Definition:</b> planar_polygon.h:134</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a0ff8205639ba8df6083258c55cf0e760"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ff8205639ba8df6083258c55cf0e760">&#9670;&nbsp;</a></span>setCoefficients() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_planar_polygon.html">pcl::PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setCoefficients </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector4f &amp;&#160;</td>
          <td class="paramname"><em>coefficients</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Setr the internal coefficients </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">coefficients</td><td>the new coefficients to be set </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="classpcl_1_1_planar_polygon.html#a704476c9bdebc989dbcbf577f02d32db">coefficients_</a> = coefficients;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="afd88c7877a20160cea40ba55ba4ab7ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd88c7877a20160cea40ba55ba4ab7ef">&#9670;&nbsp;</a></span>setCoefficients() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_planar_polygon.html">pcl::PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setCoefficients </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_model_coefficients.html">pcl::ModelCoefficients</a> &amp;&#160;</td>
          <td class="paramname"><em>coefficients</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the internal coefficients </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">coefficients</td><td>the new coefficients to be set </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;      {</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; 4; i++)</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;          <a class="code" href="classpcl_1_1_planar_polygon.html#a704476c9bdebc989dbcbf577f02d32db">coefficients_</a>[i] = coefficients.values.at (i);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae63c4c8b438668f1ebe04974ffefeedb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae63c4c8b438668f1ebe04974ffefeedb">&#9670;&nbsp;</a></span>setContour()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_planar_polygon.html">pcl::PlanarPolygon</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setContour </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>contour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the internal contour </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">contour</td><td>the new planar polygonal contour </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="classpcl_1_1_planar_polygon.html#abcd484d22b965923dbeccb656c2d567a">contour_</a> = contour.<a class="code" href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">points</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html_af16a62638198313b9c093127c492c884"><div class="ttname"><a href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">pcl::PointCloud::points</a></div><div class="ttdeci">std::vector&lt; PointT, Eigen::aligned_allocator&lt; PointT &gt; &gt; points</div><div class="ttdoc">The point data.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:410</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>geometry/include/pcl/geometry/<a class="el" href="planar__polygon_8h_source.html">planar_polygon.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_planar_polygon.html">PlanarPolygon</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
